<?php

namespace App\Http\Form\KfCashRegisterV2;


use App\Http\Form\FormAttribute;

class KfCashRegisterV2FormAttribute extends FormAttribute
{
    const BUSINESS_TYPE_SINGLE   = 1;
    const BUSINESS_TYPE_BUSINESS = 2;
    const BUSINESS_TYPE_MAP      = [
        self::BUSINESS_TYPE_SINGLE   => "个体工商户",
        self::BUSINESS_TYPE_BUSINESS => "企业"
    ];

    const SETTLEMENT_TYPE_PUBLIC  = 1;
    const SETTLEMENT_TYPE_PRIVATE = 2;
    const SETTLEMENT_TYPE_MAP     = [
        self::SETTLEMENT_TYPE_PUBLIC  => "营业执照公户收款",// 对公
        self::SETTLEMENT_TYPE_PRIVATE => "个人银行卡收款",// 对私
    ];

    const PAYEE_TYPE_CORPORATION     = 1;
    const PAYEE_TYPE_UN_CORPORATION  = 2;
    const PAYEE_TYPE_CORPORATION_MAP = [
        self::PAYEE_TYPE_CORPORATION    => '营业执照法人收款',
        self::PAYEE_TYPE_UN_CORPORATION => '其他人收款',
    ];

    const FY_BANK_TYPE = [
        "0323" => "上海华瑞银行",
        "A000" => "境外银行",
        "0102" => "中国工商银行",
        "0103" => "中国农业银行",
        "0104" => "中国银行",
        "0105" => "中国建设银行",
        "0301" => "交通银行",
        "0308" => "招商银行",
        "0309" => "兴业银行",
        "0305" => "中国民生银行",
        "0306" => "广东发展银行",
        "0307" => "平安银行股份有限公司",
        "0310" => "上海浦东发展银行",
        "0304" => "华夏银行",
        "0313" => "其他城市商业银行",
        "0402" => "其他农村信用合作社",
        "0203" => "中国农业发展银行",
        "0314" => "其他农村商业银行",
        "0315" => "恒丰银行",
        "0403" => "中国邮政储蓄银行股份有限公司",
        "0303" => "中国光大银行",
        "0302" => "中信银行",
        "0316" => "浙商银行股份有限公司",
        "0318" => "渤海银行股份有限公司",
        "0319" => "徽商银行",
        "0671" => "香港地区渣打银行",
        "0502" => "东亚银行(中国)有限公司",
        "0317" => "其他农村合作银行",
        "0322" => "上海农村商业银行",
        "0320" => "村镇银行",
        "0501" => "汇丰银行",
        "0503" => "南洋商业银行",
        "0593" => "友利银行",
        "0595" => "新韩银行",
        "0596" => "企业银行",
        "0597" => "韩亚银行",
        "0621" => "华侨银行",
        "0622" => "大华银行",
        "0531" => "花旗银行",
        "0781" => "厦门国际银行",
        "0787" => "华一银行",
    ];

    const BUSINESS_LICENSE_TYPE      = 1;
    const BUSINESS_LICENSE_TYPE_LONG = 2;
    const BUSINESS_LICENSE_TYPE_MAP  = [
        self::BUSINESS_LICENSE_TYPE      => "固定有效期",
        self::BUSINESS_LICENSE_TYPE_LONG => "长期"
    ];
}
